package com.nlelpct.manage.constant;

/**
 * @author :小马
 * @date : 2023-07-12
 * 通用的状态返回码
 */
public class ResponseCode {

    /**
     * 通用成功
     */
    public static final Integer SUCCESS = 200;

    /**
     * 通用失败
     */
    public static final Integer ORDINARY_FAIL = 500001;

    /**
     * 请求头中没有Token字符串
     */
    public static final Integer TOKEN_NOT_FIND = 500501;

    /**
     * token 过期
     */
    public static final Integer TOKEN_EXPIRED_CODE = 500502;

    /**
     * 没有权限
     */
    public static final Integer NO_PERMISSION = 500503;

    /**
     * 密码超过90天未修改
     */
    public static final Integer PASSWORD_LONGTIME_NOT_MODIFIED_CODE = 500505;

    /**
     * 登录错误
     */
    public static final Integer LOGIN_ERROR = 500504;

}
